package cn.wh.user.mapper;

import cn.wh.user.domain.User;
import cn.wh.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yaosang
 * @since 2022-06-16
 */
public interface UserMapper extends BaseMapper<User> {

    //通过手机号码查询
    User loadByPhone(String phone);
    //通过用户登录信息id查询用户
    User loadByLoginIn(Long id);
}
